export const rules = {
    deptName: [
        { required: true, message: '请输入部门名称', trigger: 'blur' },
        { min: 2, max: 20, message: '请输入2-20个字符！' }
    ],
    deptCode: [
        { required: true, message: '请输入部门编码', trigger: 'blur' }
    ],
    // menuAuth: [
    //     { required: true, message: '请选择权限信息', trigger: 'change' }
    // ],
    // routes: [
    //     { required: true, message: '请选择路由信息', trigger: 'change' }
    // ]
}